package com.wjv.example.dao;


import com.wjv.example.common.entity.PaymentEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>Title: PaymentDAO</p>
 * <p>Company:misspao </p>
 *
 * @author: wjv
 * @Date: Create in 16:27 2020/9/21
 * @Description:
 */
@Mapper
public interface PaymentDAO {

    /**
     * 查询 , 根据 id
     * @param id
     * @return
     */
    PaymentEntity queryById(@Param("id") int id);

    int save(PaymentEntity entity);
}
